package com.geezdata.cps.sdk3rd.kongming.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.geezdata.cps.base.utils.JaxbDateAdapter;

public class Order {
    
    private String orderNumber; //  微信订单号
    
    private String deliveryOrderNumber; //  发货订单微信订单号
    
    private String parentOrderNumber; //  微信父订单号
    
    private Date orderDate; //  下单时间
    
    private Date payDate; //  支付时间
    
    private BigDecimal totalPriceOfOrder; //  订单总金额
    
    private BigDecimal bonus; //  红包金额
    
    private String gifts; //  赠品
    
    private Integer usePoints; //  使用积分
    
    private BigDecimal shippingCost; //  订单运费
    
    private BigDecimal amountToBill; //  开票金额
    
    private String billTitle; //  发票抬头
    
    private String orderReturnReason; //   换货原因
    
    private Date deliveryTargetDate; //  期望送货时间
    
    private Date deliveryOrderDate;
    
    private String receiver; //  收货人
    
    private String tel; //  联系电话
    
    private String mobile; //  手机
    
    private String province; //  省
    
    private String city; //  市
    
    private String district; //  区
    
    private String address; //  地址
    
    private String senddate; //  期望收货日期
    
    private String greetings; //
    
    private String orderTransaction; //
    
    private String shippingMethod; //  快递名称
    
    private Integer shippingStatus; //  发货状态
    
    private String trackingNumber; //  发货面单号 
    
    private List<OrderItems> orderItems;

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getParentOrderNumber() {
        return parentOrderNumber;
    }

    public void setParentOrderNumber(String parentOrderNumber) {
        this.parentOrderNumber = parentOrderNumber;
    }

    @XmlJavaTypeAdapter(JaxbDateAdapter.class)
    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    @XmlJavaTypeAdapter(JaxbDateAdapter.class)
    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public BigDecimal getTotalPriceOfOrder() {
        return totalPriceOfOrder;
    }

    public void setTotalPriceOfOrder(BigDecimal totalPriceOfOrder) {
        this.totalPriceOfOrder = totalPriceOfOrder;
    }

    public BigDecimal getBonus() {
        return bonus;
    }

    public void setBonus(BigDecimal bonus) {
        this.bonus = bonus;
    }

    public String getGifts() {
        return gifts;
    }

    public void setGifts(String gifts) {
        this.gifts = gifts;
    }

    public Integer getUsePoints() {
        return usePoints;
    }

    public void setUsePoints(Integer usePoints) {
        this.usePoints = usePoints;
    }

    public BigDecimal getShippingCost() {
        return shippingCost;
    }

    public void setShippingCost(BigDecimal shippingCost) {
        this.shippingCost = shippingCost;
    }

    public BigDecimal getAmountToBill() {
        return amountToBill;
    }

    public void setAmountToBill(BigDecimal amountToBill) {
        this.amountToBill = amountToBill;
    }

    public String getBillTitle() {
        return billTitle;
    }

    public void setBillTitle(String billTitle) {
        this.billTitle = billTitle;
    }

    public String getOrderReturnReason() {
        return orderReturnReason;
    }

    public void setOrderReturnReason(String orderReturnReason) {
        this.orderReturnReason = orderReturnReason;
    }

    @XmlJavaTypeAdapter(JaxbDateAdapter.class)
    public Date getDeliveryTargetDate() {
        return deliveryTargetDate;
    }

    public void setDeliveryTargetDate(Date deliveryTargetDate) {
        this.deliveryTargetDate = deliveryTargetDate;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSenddate() {
        return senddate;
    }

    public void setSenddate(String senddate) {
        this.senddate = senddate;
    }

    public String getGreetings() {
        return greetings;
    }

    public void setGreetings(String greetings) {
        this.greetings = greetings;
    }

    public String getOrderTransaction() {
        return orderTransaction;
    }

    public void setOrderTransaction(String orderTransaction) {
        this.orderTransaction = orderTransaction;
    }

    public String getShippingMethod() {
        return shippingMethod;
    }

    public void setShippingMethod(String shippingMethod) {
        this.shippingMethod = shippingMethod;
    }

    public Integer getShippingStatus() {
        return shippingStatus;
    }

    public void setShippingStatus(Integer shippingStatus) {
        this.shippingStatus = shippingStatus;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    @XmlJavaTypeAdapter(JaxbDateAdapter.class)
    public Date getDeliveryOrderDate() {
        return deliveryOrderDate;
    }

    public void setDeliveryOrderDate(Date deliveryOrderDate) {
        this.deliveryOrderDate = deliveryOrderDate;
    }

    @XmlElement(name="OrderItems")
    public List<OrderItems> getOrderItems() {
        return orderItems;
    }

    public void setOrderItems(List<OrderItems> orderItems) {
        this.orderItems = orderItems;
    }

    public String getDeliveryOrderNumber() {
        return deliveryOrderNumber;
    }

    public void setDeliveryOrderNumber(String deliveryOrderNumber) {
        this.deliveryOrderNumber = deliveryOrderNumber;
    } 
}
